package com.tarena.lbs.basic.web.dao.repository;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.tarena.lbs.basic.web.dao.mapper.UserGroupMapper;
import com.tarena.lbs.pojo.basic.po.UserGroupPO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public class UserGroupRepository extends ServiceImpl<UserGroupMapper, UserGroupPO> {
    @Autowired
    private UserGroupMapper userGroupMapper;

    public List<UserGroupPO> getUserGroups(List<Integer> userTagsId, Integer businessId) {
        return userGroupMapper.getUserGroups(userTagsId,businessId);
    }
}
